import { defineStore } from 'pinia'

export const useCustomTabbarStore = defineStore('custom_tabbar', {
  state: () => ({
    current: 0
  }),
  actions: {
    setCurrent(index) {
      this.current = index
    }
  }
})
